package com.itheima.service;

import com.itheima.common.entity.Result;
import com.itheima.dto.OrderSettingDTO;
import com.itheima.vo.OrderSettingVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author 32338
 * @date 2024-05-04 15:18:44
 * @description 预约设置管理服务层
 */
public interface OrderSettingService {
    /**
     * @description
     ***:根据日期修改可预约人数
     **/
    void editNumberByOrderDate(OrderSettingDTO orderSettingDTO);


    /**
     * @description
     ***:根据年月查询对应的预约设置信息
     *
     * @param month*/
    List<OrderSettingVO> getOrderSettingByMonth(String  month);



    /**
     * @description
     ***:模板下载
     **/
    void download(String filename, HttpServletResponse response);


    /**
     * @description
     ***:文件上传
     *
     * @return*/
    Result upload(MultipartFile excelFile);

}
